package cn.likole.oj.bean;


import org.nutz.dao.entity.annotation.*;

@Table("task_config")
@TableIndexes(@Index(fields = "taskId",unique = false))
public class TaskConfig {

    /**
     * 任务编号
     */
    @Column
    private int taskId;

    /**
     * 条件类型
     */
    @Column
    private int cndType;//条件类型,:...

    /**
     * 条件名称
     */
    @Column
    private String cndName;

    /**
     * 条件要求,例如 > , < , =
     */
    @Column
    private String cndRequire;

    /**
     * 条件值
     */
    @Column
    private int cndVal;

    public String getCndRequire() {
        return cndRequire;
    }

    public void setCndRequire(String cndRequire) {
        this.cndRequire = cndRequire;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getCndName() {
        return cndName;
    }

    public void setCndName(String cndName) {
        this.cndName = cndName;
    }

    public int getCndVal() {
        return cndVal;
    }

    public void setCndVal(int cndVal) {
        this.cndVal = cndVal;
    }

    public int getCndType() {
        return cndType;
    }

    public void setCndType(int cndType) {
        this.cndType = cndType;
    }
}
